﻿/* ######################################## *\
 * ### Copyright (C) 2009 AJ Ravindiran ### *
\* ######################################## */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using AJRavindiran.Jolt.RuneScape.Models.Characters;

namespace AJRavindiran.Jolt.RuneScape.Network.Packets.Builders
{
    /// <summary>
    /// Represents a management for packet building.
    /// </summary>
    public class PacketBuilder
    {
        #region Fields
        public CharacterUpdate characterUpdate = new CharacterUpdate();
        #endregion Fields

        #region Methods
        /// <summary>
        /// Build a character update for the player.
        /// </summary>
        public void BuildCharacterUpdates(Character character)
        {
            this.characterUpdate.Update(character);
        }

        /// <summary>
        /// Get accessor for the character updates builder.
        /// </summary>
        public CharacterUpdate GetCharacterUpdate()
        {
            return characterUpdate;
        }
        #endregion Methods
    }
}
